package com.jilijili.win;

import javax.swing.*;
import java.awt.*;

public class Application {

    public static void main(String[] args) {
        JFrame jFrame =  new JFrame("肌哩肌哩视屏");
        jFrame.setSize(400,500);
        JFrame.setDefaultLookAndFeelDecorated(true);
        jFrame.setVisible(true);

        JPanel jPanel = new JPanel();
        JButton btn1 = new JButton("下一个");
        JButton btn2 = new JButton("上一个");

        jPanel.add(btn1);
        jPanel.add(btn2);
        jPanel.setSize(100,100);
        jPanel.setBackground(Color.yellow);

        jFrame.setLayout(null);

        jFrame.setContentPane(jPanel);
    }
}
